/**
 * 
 */
package com.efast.dmom.mes.entity;

import com.efast.dmom.mes.entity.base.RuntimeBaseEntity;

/**
 * @author Aaron Liu
 *
 *         2020年4月1日
 */
public class UnitEntity extends RuntimeBaseEntity {

	private static final long serialVersionUID = -5723856739656982726L;

	private long id = 0;

	private String serialNumber = null;

	private long orderKey = 0;

	private long orderItemKey = 0;

	private long containerKey = 0;

	private long containerType = 0;

	private long routeKey = 0;

	private long lotKey = 0;

	private String partNumber = null;

	private String partRevision = null;

	private String priority = null;

	private boolean standAlone = false;

	private long previousRouteStep;

	private long nextRouteStep;

	private long currentRouteStep;

	private String previousStatus;

	private String previousState;

	public long getCurrentRouteStep() {
		return currentRouteStep;
	}

	public void setCurrentRouteStep(long currentRouteStep) {
		this.currentRouteStep = currentRouteStep;
	}

	public long getPreviousRouteStep() {
		return previousRouteStep;
	}

	public void setPreviousRouteStep(long previousRouteStep) {
		this.previousRouteStep = previousRouteStep;
	}

	public long getNextRouteStep() {
		return nextRouteStep;
	}

	public void setNextRouteStep(long nextRouteStep) {
		this.nextRouteStep = nextRouteStep;
	}

	public String getPreviousStatus() {
		return previousStatus;
	}

	public void setPreviousStatus(String previousStatus) {
		this.previousStatus = previousStatus;
	}

	public String getPreviousState() {
		return previousState;
	}

	public void setPreviousState(String previousState) {
		this.previousState = previousState;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getRouteKey() {
		return routeKey;
	}

	public void setRouteKey(long routeKey) {
		this.routeKey = routeKey;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public long getOrderKey() {
		return orderKey;
	}

	public void setOrderKey(long orderKey) {
		this.orderKey = orderKey;
	}

	public long getOrderItemKey() {
		return orderItemKey;
	}

	public void setOrderItemKey(long orderItemKey) {
		this.orderItemKey = orderItemKey;
	}

	public long getContainerKey() {
		return containerKey;
	}

	public void setContainerKey(long containerKey) {
		this.containerKey = containerKey;
	}

	public long getContainerType() {
		return containerType;
	}

	public void setContainerType(long containerType) {
		this.containerType = containerType;
	}

	public long getLotKey() {
		return lotKey;
	}

	public void setLotKey(long lotKey) {
		this.lotKey = lotKey;
	}

	public String getPartNumber() {
		return partNumber;
	}

	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}

	public String getPartRevision() {
		return partRevision;
	}

	public void setPartRevision(String partRevision) {
		this.partRevision = partRevision;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public boolean isStandAlone() {
		return standAlone;
	}

	public void setStandAlone(boolean standAlone) {
		this.standAlone = standAlone;
	}

}
